package com.rainy.sso.client.service;
import com.rainy.sso.client.entity.RolePermission;
import java.util.List;

/**
 * @author liuqin on 2017-12-21 14:26:10
 */
public interface RolePermissionService {

    List<RolePermission> list(Long offset, Long limit);

    Long count(Long offset, Long limit);

    void update(RolePermission entity);

    void save(RolePermission entity);

    void delete(Long id);

    RolePermission queryRolePermissionByUid(Long uid);

    List<RolePermission> queryRolePermissionByRids(List<Long> rids);


}